<template>
  <div class="pos">
    <div>
      <el-row>
        <el-col :span="10" id="leftOrder">
          <Order />
        </el-col>
        <el-col :span="14">
          <Goods />
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
  import Order from './Order';
  import Goods from './Goods';

  export default {
    name: 'Pos',
    data() {
      return {
      }
    },
    components: {
      Order, // 引入内容区的左侧组件
      Goods, // 引入内容区的右侧组件
    },
    methods: {
    },
    mounted() {
      const bodyClientHeight = document.body.clientHeight;
      document.querySelector('#leftOrder').style.height = bodyClientHeight + 'px';
    }
  }
</script>

<style scoped>

</style>

